package com.wise.site.protocol.result;

import org.json.JSONException;
import org.json.JSONObject;

import com.wise.site.protocol.base.SoapItem;

/**
 * 导航条数据元
 * @author huangyue
 *
 * 2012-9-17
 */
public class IndexerBarEntry extends SoapItem{
	public int id;
	public String text;
	public int type;
	
	public IndexerBarEntry() {
	}
	
	public IndexerBarEntry(JSONObject node) {
		super(node);
	}

	@Override
	public void parse(JSONObject node) throws JSONException {
		id = node.getInt("id");
		text = node.getString("title");
		type = node.getInt("type");
	}
}
